package com.haiya.state.basic;

public class StateB extends State {
    @Override
    public void handle(Context context) {
        System.out.println("当前状态为 B");
        context.setState(new StateA());
    }
}
